from flask import jsonify


class User:
    userId = ""
    username = ""
    account = ""
    password = ""

    def __init__(self, userId="", username="", account="", password=""):
        self.userId = userId
        self.username = username
        self.account = account
        self.password = password

    def JSONStr(self):
        return {
            "userId": self.userId,
            "username": self.username,
            "account": self.account,
            "password": self.password
        }
